home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 46
/
Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso
/
-in_the_mag-
/
reader_requests
/
scilab
/
man
/
man-part1
/
cat2
/
xpolys.2
< prev
next >
Wrap
Text File
|
1999-09-16
|
893b
|
67 lines
xpolys(2) Scilab Function xpolys(2)
NAME
xpolys - draw a set of polylines
CALLING SEQUENCE
[]=xpolys(xpols,ypols,[draw])
PARAMETERS
xpols, ypols : matrices of size (p,n)
draw : vector of size n
DESCRIPTION
Draws a set of polyline using marks or dashed lines, each polyline points
are store in a column of xpols, ypols. xpols =[ xpol1;xpol2;...] '
The style is given by draw :
If draw(i) is positive the mark of id draw(i) is used to draw the polyline
i.
If draw(i) is negative the line style of id abs(draw(i)) is used to draw
the polyline i.
EXAMPLES
plot2d(0,0,[-1],"012"," ",[0,0,1,1]);
rand('uniform');
xpolys(rand(10,5),rand(10,5));
xpolys(rand(10,5),rand(10,5),[-1,-2,0,1,2])
xset("use color",1)
xpolys(rand(10,5),rand(10,5),[-1,-4,0,1,2])
AUTHOR
J.Ph.C.